<template>
  <div :style="{ border: '1px solid red' }">
    <h2>Two==>a-{{ a }}--b--{{ b }}--c--{{ c }}</h2>
    <button @click="$emit('changea', a + 1)">修改a</button>
    <button @click="$emit('changeb', b + 1)">修改b</button>
    <button @click="$emit('changec', c + 1)">修改c</button>
  </div>
</template>

<script>
export default {
  name: "Two",
  props: ["a", "b", "c"],
};
</script>

<style></style>
